﻿using System;
using System.Web;

// ReSharper disable once CheckNamespace
namespace com.nm.ApiServer {
	/// <summary>
	/// 异步版本的API
	/// </summary>
	// ReSharper disable once InconsistentNaming
	public class APIAsyncHandler : IHttpAsyncHandler {
		/// <summary>
		/// 
		/// </summary>
		public bool IsReusable {
			get {
				return true; ;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		/// <param name="context"></param>
		/// <param name="cb"></param>
		/// <param name="extraData"></param>
		/// <returns></returns>
		public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData) {
			throw new NotImplementedException();
		}
		/// <summary>
		/// 
		/// </summary>
		/// <param name="result"></param>
		public void EndProcessRequest(IAsyncResult result) {
			throw new NotImplementedException();
		}
		/// <summary>
		/// 
		/// </summary>
		/// <param name="context"></param>
		public void ProcessRequest(HttpContext context) {
		}
	}
}
